package java6699.lesson07;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

import java.io.IOException;
import java.net.URL;

/**
 * @program: java_zzx
 * @description:
 * @author: zzx
 * @create: 2022-10-18 09:06
 **/
public class CreateNewFile6699 extends Application {
    @Override
    public void start(Stage primaryStage) throws IOException {
        URL url = getClass().getResource("CreateNewFile6699view.fxml");
        BorderPane root = FXMLLoader.load(url);
        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.setTitle("创建新文件");
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}
